package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenxuebin
 * @since 2020-08-10
 */
@TableName("t_fan_config")
public class FanConfig extends Model<FanConfig> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 新用户首次注册奖励类型@0：无返现；1：送积分；2：送现金；3：送优惠券；4：送虚拟币
     */
	@TableField("zhuce_type")
	private Integer zhuceType;
    /**
     * 新用户首次注册奖励额#积分|现金|优惠券|虚拟币
     */
	@TableField("zhuce_mount")
	private BigDecimal zhuceMount;
    /**
     * 绑定手机奖励类型@0：无返现；1：送积分；2：送现金；3：送优惠券；4：送虚拟币
     */
	@TableField("shoujifan_type")
	private Integer shoujifanType;
    /**
     * 绑定手机奖励额#积分|现金|优惠券|虚拟币
     */
	@TableField("shoujifan_mount")
	private BigDecimal shoujifanMount;
    /**
     * 拉新用户注册奖励类型@0：无返现；1：送积分；2：送现金；3：送优惠券；4：送虚拟币
     */
	@TableField("nuserfan_type")
	private Integer nuserfanType;
    /**
     * 拉新用户奖励额#积分|现金|优惠券|虚拟币
     */
	@TableField("nuserfan_mount")
	private BigDecimal nuserfanMount;

    /**
     * 拉新用户注册奖励类型@0：无返现；1：送积分；2：送现金；3：送优惠券；4：送虚拟币
     */
	@TableField("nuserfan_type2")
	private Integer nuserfanType2;

    /**
     * 拉新用户奖励额#积分|现金|优惠券|虚拟币
     */
	@TableField("nuserfan_mount2")
	private BigDecimal nuserfanMount2;

	/**
	 * 拉新用户注册奖励类型@0：无返现；1：送积分；2：送现金；3：送优惠券；4：送虚拟币
	 */
	@TableField("nuserjtfan_type")
	private Integer nuserjtfanType;

	/**
	 * 拉新用户奖励额#积分|现金|优惠券|虚拟币
	 * 阶梯奖励，比如格式：3-1#10-3#20-10#50-30#100-100#200-150#500-300
	 */
	@TableField("nuserjtfan")
	private String nuserjtfan;

    /**
     * 转发享奖励类型@0：无返现；1：送积分；2：送现金；3：送优惠券；4：送虚拟币
     */
	@TableField("zffan_type")
	private Integer zffanType;
    /**
     * 转发奖励额#积分|现金|优惠券|虚拟币
     */
	@TableField("zffan_mount")
	private BigDecimal zffanMount;
    /**
     * 每日最多转发最高奖励次数
     */
	@TableField("zffan_max")
	private Integer zffanMax;
    /**
     * 签到奖励类型@0：无返现；1：送积分；2：送现金；3：送优惠券；4：送虚拟币
     */
	@TableField("signfan_type")
	private Integer signfanType;
    /**
     * 签到奖励额#积分|现金|优惠券|虚拟币
     */
	@TableField("signfan_mount")
	private BigDecimal signfanMount;
    /**
     * 阅读奖励类型@0：无返现；1：送积分；2：送现金；3：送优惠券；4：送虚拟币
     */
	@TableField("readfan_type")
	private Integer readfanType;
    /**
     * 阅读奖励额#积分|现金|优惠券|虚拟币
     */
	@TableField("readfan_mount")
	private BigDecimal readfanMount;
    /**
     * 每日阅读奖最高励额次数
     */
	@TableField("readfan_max")
	private Integer readfanMax;
    /**
     * 点赞奖励类型@0：无返现；1：送积分；2：送现金；3：送优惠券；4：送虚拟币
     */
	@TableField("zan_type")
	private Integer zanType;
    /**
     * 点赞奖励额#积分|现金|优惠券|虚拟币
     */
	@TableField("zan_mount")
	private BigDecimal zanMount;
    /**
     * 每日点赞奖最高励额次数
     */
	@TableField("zan_max")
	private Integer zanMax;

	/**
	 * 评论奖励类型@0：无返现；1：送积分；2：送现金；3：送优惠券；4：送虚拟币
	 */
	@TableField("ping_type")
	private Integer pingType;
	/**
	 * 评论奖励额#积分|现金|优惠券|虚拟币
	 */
	@TableField("ping_mount")
	private BigDecimal pingMount;
	/**
	 * 每日评论奖最高励额次数
	 */
	@TableField("ping_max")
	private Integer pingMax;


	/**
	 * 预约奖励类型@0：无返现；1：送积分；2：送现金；3：送优惠券；4：送虚拟币
	 */
	@TableField("yuyue_type")
	private Integer yuyueType;
	/**
	 * 预约奖励额#积分|现金|优惠券|虚拟币
	 */
	@TableField("yuyue_mount")
	private BigDecimal yuyueMount;
	/**
	 * 预约评论奖最高励额次数
	 */
	@TableField("yuyue_max")
	private Integer yuyueMax;

	/**
	 * 预约奖励类型@0：无返现；1：送积分；2：送现金；3：送优惠券；4：送虚拟币
	 */
	@TableField("hexiao_type")
	private Integer hexiaoType;

	/**
	 * 预约奖励额#积分|现金|优惠券|虚拟币
	 */
	@TableField("hexiao_mount")
	private BigDecimal hexiaoMount;


	/**
	 * 买单奖励类型@0：无返现；1：送积分；2：送现金；3：送优惠券；4：送虚拟币
	 */
	@TableField("mdfan_type")
	private Integer mdfanType;

	/**
	 * 买单奖励比例
	 */
	@TableField("mdfan_ratio")
	private BigDecimal mdfanRatio;

	private Integer state;
	private Long mpid;
	private Long sid;
	private Date createtime;
	private Long creator;
	private Date modifytime;
	private Long modifior;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getZhuceType() {
		return zhuceType;
	}

	public void setZhuceType(Integer zhuceType) {
		this.zhuceType = zhuceType;
	}

	public BigDecimal getZhuceMount() {
		return zhuceMount;
	}

	public void setZhuceMount(BigDecimal zhuceMount) {
		this.zhuceMount = zhuceMount;
	}

	public Integer getShoujifanType() {
		return shoujifanType;
	}

	public void setShoujifanType(Integer shoujifanType) {
		this.shoujifanType = shoujifanType;
	}

	public BigDecimal getShoujifanMount() {
		return shoujifanMount;
	}

	public void setShoujifanMount(BigDecimal shoujifanMount) {
		this.shoujifanMount = shoujifanMount;
	}

	public Integer getNuserfanType() {
		return nuserfanType;
	}

	public void setNuserfanType(Integer nuserfanType) {
		this.nuserfanType = nuserfanType;
	}

	public BigDecimal getNuserfanMount() {
		return nuserfanMount;
	}

	public void setNuserfanMount(BigDecimal nuserfanMount) {
		this.nuserfanMount = nuserfanMount;
	}

	public Integer getZffanType() {
		return zffanType;
	}

	public void setZffanType(Integer zffanType) {
		this.zffanType = zffanType;
	}

	public BigDecimal getZffanMount() {
		return zffanMount;
	}

	public void setZffanMount(BigDecimal zffanMount) {
		this.zffanMount = zffanMount;
	}

	public Integer getZffanMax() {
		return zffanMax;
	}

	public void setZffanMax(Integer zffanMax) {
		this.zffanMax = zffanMax;
	}

	public Integer getSignfanType() {
		return signfanType;
	}

	public void setSignfanType(Integer signfanType) {
		this.signfanType = signfanType;
	}

	public BigDecimal getSignfanMount() {
		return signfanMount;
	}

	public void setSignfanMount(BigDecimal signfanMount) {
		this.signfanMount = signfanMount;
	}

	public Integer getReadfanType() {
		return readfanType;
	}

	public void setReadfanType(Integer readfanType) {
		this.readfanType = readfanType;
	}

	public BigDecimal getReadfanMount() {
		return readfanMount;
	}

	public void setReadfanMount(BigDecimal readfanMount) {
		this.readfanMount = readfanMount;
	}

	public Integer getReadfanMax() {
		return readfanMax;
	}

	public void setReadfanMax(Integer readfanMax) {
		this.readfanMax = readfanMax;
	}

	public Integer getZanType() {
		return zanType;
	}

	public void setZanType(Integer zanType) {
		this.zanType = zanType;
	}

	public BigDecimal getZanMount() {
		return zanMount;
	}

	public void setZanMount(BigDecimal zanMount) {
		this.zanMount = zanMount;
	}

	public Integer getZanMax() {
		return zanMax;
	}

	public void setZanMax(Integer zanMax) {
		this.zanMax = zanMax;
	}

	public Integer getPingType() {
		return pingType;
	}

	public void setPingType(Integer pingType) {
		this.pingType = pingType;
	}

	public BigDecimal getPingMount() {
		return pingMount;
	}

	public void setPingMount(BigDecimal pingMount) {
		this.pingMount = pingMount;
	}

	public Integer getPingMax() {
		return pingMax;
	}

	public void setPingMax(Integer pingMax) {
		this.pingMax = pingMax;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Long getSid() {
		return sid;
	}

	public void setSid(Long sid) {
		this.sid = sid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Long getCreator() {
		return creator;
	}

	public void setCreator(Long creator) {
		this.creator = creator;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	public Long getModifior() {
		return modifior;
	}

	public void setModifior(Long modifior) {
		this.modifior = modifior;
	}

	public Integer getYuyueType() {
		return yuyueType;
	}

	public void setYuyueType(Integer yuyueType) {
		this.yuyueType = yuyueType;
	}

	public BigDecimal getYuyueMount() {
		return yuyueMount;
	}

	public void setYuyueMount(BigDecimal yuyueMount) {
		this.yuyueMount = yuyueMount;
	}

	public Integer getYuyueMax() {
		return yuyueMax;
	}

	public void setYuyueMax(Integer yuyueMax) {
		this.yuyueMax = yuyueMax;
	}

	public Integer getHexiaoType() {
		return hexiaoType;
	}

	public void setHexiaoType(Integer hexiaoType) {
		this.hexiaoType = hexiaoType;
	}

	public BigDecimal getHexiaoMount() {
		return hexiaoMount;
	}

	public void setHexiaoMount(BigDecimal hexiaoMount) {
		this.hexiaoMount = hexiaoMount;
	}

	public Integer getNuserjtfanType() {
		return nuserjtfanType;
	}

	public void setNuserjtfanType(Integer nuserjtfanType) {
		this.nuserjtfanType = nuserjtfanType;
	}

	public String getNuserjtfan() {
		return nuserjtfan;
	}

	public void setNuserjtfan(String nuserjtfan) {
		this.nuserjtfan = nuserjtfan;
	}

	public Integer getNuserfanType2() {
		return nuserfanType2;
	}

	public void setNuserfanType2(Integer nuserfanType2) {
		this.nuserfanType2 = nuserfanType2;
	}

	public BigDecimal getNuserfanMount2() {
		return nuserfanMount2;
	}

	public void setNuserfanMount2(BigDecimal nuserfanMount2) {
		this.nuserfanMount2 = nuserfanMount2;
	}

	public Integer getMdfanType() {
		return mdfanType;
	}

	public void setMdfanType(Integer mdfanType) {
		this.mdfanType = mdfanType;
	}

	public BigDecimal getMdfanRatio() {
		return mdfanRatio;
	}

	public void setMdfanRatio(BigDecimal mdfanRatio) {
		this.mdfanRatio = mdfanRatio;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "FanConfig{" +
			"id=" + id +
			", zhuceType=" + zhuceType +
			", zhuceMount=" + zhuceMount +
			", shoujifanType=" + shoujifanType +
			", shoujifanMount=" + shoujifanMount +
			", nuserfanType=" + nuserfanType +
			", nuserfanMount=" + nuserfanMount +
			", zffanType=" + zffanType +
			", zffanMount=" + zffanMount +
			", zffanMax=" + zffanMax +
			", signfanType=" + signfanType +
			", signfanMount=" + signfanMount +
			", readfanType=" + readfanType +
			", readfanMount=" + readfanMount +
			", readfanMax=" + readfanMax +
			", zanType=" + zanType +
			", zanMount=" + zanMount +
			", zanMax=" + zanMax +
			", state=" + state +
			", mpid=" + mpid +
			", sid=" + sid +
			", createtime=" + createtime +
			", creator=" + creator +
			", modifytime=" + modifytime +
			", modifior=" + modifior +
			"}";
	}
}
